package com.zdjx.pojo;

import java.util.Date;

/**
 * 单接口响应实体类
 */
public class ResponseResult {
    private Long id;             //ID
    private String requestURL;   //请求地址
    private Date saveTime;       //保存时间
    private String result;       //响应结果
    private Long exeTime;        //请求执行时间

    public ResponseResult(String requestURL, Date saveTime, String result, Long exeTime) {
        this.requestURL = requestURL;
        this.saveTime = saveTime;
        this.result = result;
        this.exeTime = exeTime;
    }

    public ResponseResult() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRequestURL() {
        return requestURL;
    }

    public void setRequestURL(String requestURL) {
        this.requestURL = requestURL;
    }

    public Date getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(Date saveTime) {
        this.saveTime = saveTime;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Long getExeTime() {
        return exeTime;
    }

    public void setExeTime(Long exeTime) {
        this.exeTime = exeTime;
    }

    @Override
    public String toString() {
        return "ResponseResult{" +
                "id=" + id +
                ", requestURL='" + requestURL + '\'' +
                ", saveTime=" + saveTime +
                ", result='" + result + '\'' +
                ", exeTime=" + exeTime +
                '}';
    }
}
